package com.czwj.entities;

import java.util.Date;
import java.util.List;

public class EquipmentMark{
	private Integer id;
	
	private Integer equipmentid;
	
	private Date starttime;
	
	private String intervaltime;
	
	private Integer isdaily;
	
	private String remark;
	
	private Date createtime;
	
	private Integer status;
	
	private Equipment equipment;
	
	private List<Attachment> attachments;
	
	public List<Attachment> getAttachments(){
		return attachments;
	}
	
	public void setAttachments(List<Attachment> attachments){
		this.attachments = attachments;
	}
	
	/**
	 * 创建一个新的实例 EquipmentMark.
	 *
	 */
	public EquipmentMark(){
		super();
		// TODO Auto-generated constructor stub
	}
	
	/**
	 * 创建一个新的实例 EquipmentMark.
	 *
	 * @param id
	 * @param equipmentid
	 * @param starttime
	 * @param intervaltime
	 * @param isdaily
	 * @param remark
	 * @param createtime
	 * @param status
	 */
	public EquipmentMark(Integer id,Integer equipmentid,Date starttime,String intervaltime,Integer isdaily,
			String remark,Date createtime,Integer status){
		super();
		this.id = id;
		this.equipmentid = equipmentid;
		this.starttime = starttime;
		this.intervaltime = intervaltime;
		this.isdaily = isdaily;
		this.remark = remark;
		this.createtime = createtime;
		this.status = status;
	}
	
	public Integer getStatus(){
		return status;
	}
	
	public void setStatus(Integer status){
		this.status = status;
	}
	
	public Equipment getEquipment(){
		return equipment;
	}
	
	public void setEquipment(Equipment equipment){
		this.equipment = equipment;
	}
	
	public Integer getId(){
		return id;
	}
	
	public void setId(Integer id){
		this.id = id;
	}
	
	public Integer getEquipmentid(){
		return equipmentid;
	}
	
	public void setEquipmentid(Integer equipmentid){
		this.equipmentid = equipmentid;
	}
	
	public Date getStarttime(){
		return starttime;
	}
	
	public void setStarttime(Date starttime){
		this.starttime = starttime;
	}
	
	public String getIntervaltime(){
		return intervaltime;
	}
	
	public void setIntervaltime(String intervaltime){
		this.intervaltime = intervaltime == null?null:intervaltime.trim();
	}
	
	public Integer getIsdaily(){
		return isdaily;
	}
	
	public void setIsdaily(Integer isdaily){
		this.isdaily = isdaily;
	}
	
	public String getRemark(){
		return remark;
	}
	
	public void setRemark(String remark){
		this.remark = remark == null?null:remark.trim();
	}
	
	public Date getCreatetime(){
		return createtime;
	}
	
	public void setCreatetime(Date createtime){
		this.createtime = createtime;
	}
}
